<?php
require_once("xforms/Core.php");

class FrOrbeon_view extends Node{
  protected $tpl='<div><h1 class="ui-state-default">{renderLabel}</h1><div>{renderChildNodes}</div></div>';
  function renderLabel(){
    return parent::renderChildNodes(array('xforms:label'));
  }
  function renderChildNodes($whiteList=array(), $blackList=array(), $glue = ''){
    return parent::renderChildNodes(array(),array('xforms:label','xforms:help'));
  }
}